﻿using System;

namespace Common.Core.Exceptions
{
    /// <summary>
    /// 要记录的提示类错误（此错误将会被记录）
    /// </summary>
    public class BusinessException : Exception
    {
        /// <summary>
        /// 要记录的提示类错误
        /// </summary>
        /// <param name="tips"></param>
        public BusinessException(string tips) : base(tips) { }

        /// <summary>
        /// 要记录的提示类错误
        /// </summary>
        /// <param name="tips">提示信息</param>
        /// <param name="ex">真实的错误信息</param>
        public BusinessException(string tips, Exception ex) : base(tips, ex) { }
    }
}